isAllowScriptsToCloseWindows

Indicates whether JavaScript code on the web pages loaded in the browser can close the browser. By default, JavaScript is not allowed to close the browser.

Throws

when the browser is closed